package com.xsdl.template;

public class Main {

    public static void main(String[] args) {

        UserServiceImpl userService = new UserServiceImpl();
        userService.addUser(new User("1"));
        userService.addUser(new User("2"));
        userService.addUser(new User("3"));

        AbstractTemplateServiceImpl<User> service = userService;
        service.delete("4");
        service.delete("2");

        System.out.println(userService.getUserList());
    }

}
